Integrand size = 28, antiderivative size = 33 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{27 c f} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.09, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2815, 2752} \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 c f} \]
[In]
[Out]
Rule 2752
Rule 2815
Rubi steps \begin{align*} \text {integral}& = \frac {\int \sec ^4(e+f x) (c-c \sin (e+f x))^{5/2} \, dx}{a^2 c^2} \\ & = -\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 c f} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(70\) vs. \(2(33)=66\).
Time = 0.50 (sec) , antiderivative size = 70, normalized size of antiderivative = 2.12 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=-\frac {2 \sqrt {c-c \sin (e+f x)}}{27 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^3} \]
[In]
[Out]
Time = 0.57 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.48
method | result | size |
default | \(\frac {2 c \left (\sin \left (f x +e \right )-1\right )}{3 a^{2} \left (\sin \left (f x +e \right )+1\right ) \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f}\) | \(49\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.39 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=-\frac {2 \, \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (a^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) + a^{2} f \cos \left (f x + e\right )\right )}} \]
[In]
[Out]
\[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=\frac {\int \frac {\sqrt {- c \sin {\left (e + f x \right )} + c}}{\sin ^{2}{\left (e + f x \right )} + 2 \sin {\left (e + f x \right )} + 1}\, dx}{a^{2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 149 vs. \(2 (32) = 64\).
Time = 0.39 (sec) , antiderivative size = 149, normalized size of antiderivative = 4.52 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=\frac {2 \, {\left (\sqrt {c} + \frac {2 \, \sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {\sqrt {c} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}\right )}}{3 \, {\left (a^{2} + \frac {3 \, a^{2} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {3 \, a^{2} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a^{2} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )} f \sqrt {\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 110 vs. \(2 (32) = 64\).
Time = 0.32 (sec) , antiderivative size = 110, normalized size of antiderivative = 3.33 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=\frac {\sqrt {2} \sqrt {c} {\left (\frac {3 \, {\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1\right )}^{2} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{{\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}^{2}} + \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )}}{3 \, a^{2} f {\left (\frac {\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1}{\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1} + 1\right )}^{3}} \]
[In]
[Out]
Time = 9.35 (sec) , antiderivative size = 227, normalized size of antiderivative = 6.88 \[ \int \frac {\sqrt {c-c \sin (e+f x)}}{(3+3 \sin (e+f x))^2} \, dx=-\frac {4\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (\sin \left (2\,e+2\,f\,x\right )-4\,{\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2-{\sin \left (e+f\,x\right )}^2\,2{}\mathrm {i}+2+2{}\mathrm {i}\right )}{3\,a^2\,f\,\left (-4\,{\sin \left (e+f\,x\right )}^2+\sin \left (e+f\,x\right )+\sin \left (3\,e+3\,f\,x\right )+4\right )}+\frac {4\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (-{\sin \left (e+f\,x\right )}^2\,4{}\mathrm {i}+\sin \left (e+f\,x\right )\,1{}\mathrm {i}-2\,{\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2+2\,{\sin \left (\frac {3\,e}{2}+\frac {3\,f\,x}{2}\right )}^2+2\,\sin \left (2\,e+2\,f\,x\right )+\sin \left (3\,e+3\,f\,x\right )\,1{}\mathrm {i}+4{}\mathrm {i}\right )}{3\,a^2\,f\,\left (-8\,{\sin \left (e+f\,x\right )}^2+4\,\sin \left (e+f\,x\right )+2\,{\sin \left (2\,e+2\,f\,x\right )}^2+4\,\sin \left (3\,e+3\,f\,x\right )+8\right )} \]
[In]
[Out]